package com.koron.system.staff.service;

import com.koron.bean.base.BaseQueryBean;
import com.koron.bean.system.staff.StaffBean;
import com.koron.system.org.bean.UnifyOrgBean;
import com.koron.system.staff.bean.UnifyStaffBean;

import java.util.List;
import java.util.Map;

public interface UnifyUserService {

    List<UnifyOrgBean> getOrgNode(Map<String, String> cond);

    List<UnifyOrgBean> getOrgNodeTree(Map<String, String> cond);

    int inUpAllOrgNode(Map<String, String> cond);

    List<UnifyStaffBean> getStaff(Map<String, String> cond);

    int inUpAllStaff(Map<String, String> cond);

    List<StaffBean> queryStaffList(UnifyStaffBean unifyStaffBean, BaseQueryBean queryBean);

    Long queryStaffListCount(UnifyStaffBean unifyStaffBean);

    List<UnifyOrgBean> queryOrgNodeList(UnifyOrgBean unifyOrgBean);

    int initOrg(UnifyOrgBean unifyOrgBean);

    int syncOrg(UnifyOrgBean unifyOrgBean);
}
